﻿using DotNetCore.CAP;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using User.API.Data.IntegratedEvents.Events;

namespace User.API.Data.IntegratedEvents.EventHandlers
{
    public class UserprofileChangedEventHandler
        :ICapSubscribe
    {
        //[CapSubscribe("finbook.users.patch")]
        //public string Test()
        //{
        //    return "Success";
        //}
        [CapSubscribe("finbook.users.patch")]
        public string Test(UserprofileChangedEvent @event)
        {
            return "Success";
        }
    }
}
